dataSource {
	pooled = true
	driverClassName = "com.mysql.jdbc.Driver"
  dialect = 'org.hibernate.dialect.MySQL5InnoDBDialect'
	username = "motsangria"
	password = "zMldwDJQhD8UgvSeuEVv9h7ttIiGaSz3"
  passwordEncryptionCodec = DESCodec
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
}
// environment specific settings
environments {
	development {
		dataSource {
			dbCreate = "update" // one of 'create', 'create-drop','update'
			url = "jdbc:mysql://localhost:3306/motsangria_dev"
		}
	}
	test {
		dataSource {
			dbCreate = "update"
			url = "jdbc:mysql://localhost:3306/motsangria_test"
		}
	}
	production {
		dataSource {
			dbCreate = "update"
      url = "jdbc:mysql://10.251.70.18:3306/db_1_3564"
      username = "user_3564"
	    password = "C8so8BZ9azYe7bSIhmks9w=="
      passwordEncryptionCodec = DESCodec
		}
	}
}